package com.datam.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.datam.query.QuerySysUser;
import com.datam.domain.SysUserDO;
@Mapper
public interface SysUserDAO {

	public SysUserDO selectSysUserByUserId(Long userId);

	public List< SysUserDO > selectSysUserList(QuerySysUser querySysUser);

	public Integer countSysUserList(QuerySysUser querySysUser);

	public int insertSysUser(SysUserDO sysUserDO);

	public int updateSysUserByUserId(SysUserDO sysUserDO);
	
	public List<String> selectDistinctList(QuerySysUser querySysUser);

	public void deleteByCompany(@Param("CompanyID")long id);

	public int updateUserP(SysUserDO u);

}

